.ngw-vector-layer-resource-widget {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1em;
    padding: 1em;

    & > label {
        align-self: flex-start;
        line-height: 32px;

        &::after {
            content: ":";
        }
    }

    & > span,
    & > .mode,
    & > .ant-collapse {
        grid-column: 1 / span 2;
    }

    & > .ant-checkbox-wrapper {
        grid-column: 1 / span 2;

        & + .ant-checkbox-wrapper {
            margin-left: 0;
        }
    }

    & > .ant-collapse > .ant-collapse-item > {
        & > .ant-collapse-content > .ant-collapse-content-box {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 1em;
            padding: 1em;

            & > label {
                align-self: flex-start;
                line-height: 32px;

                &::after {
                    content: ":";
                }
            }

            & > .group {
                display: flex;
                flex-wrap: wrap;
                gap: 0.5em 1em;

                & > .ant-checkbox-wrapper {
                    align-self: center;
                }

                & > .ant-select,
                & > .ant-input {
                    display: block;
                    flex-grow: 1;
                    width: auto;
                }
            }
        }
    }
}
